//
//  HTTPClient.h
//  hello The traveler
//
//  Created by 贾帅 on 16/3/20.
//  Copyright © 2016年 hl. All rights reserved.
//

#import <AFNetworking/AFNetworking.h>
#import <Foundation/Foundation.h>



/// 网络请求枚举
typedef enum : NSUInteger {
    GET,
    POST,
} HTTPMethod;

@interface HTTPClient : AFHTTPSessionManager

+ (instancetype)sharedHttpClient;

- (void)request:(HTTPMethod)method URLString:(NSString *)URLString parameters:(id)parameters finished:(void (^)(id result, NSError *error))finished;



@end
